<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <title> <%= controller.controller_name.capitalize %> : <%= controller.action_name %></title>
  <%= javascript_include_tag :defaults, "custom_box" %>

  <%= stylesheet_link_tag 'webadmin', 'validation_errors' %>
</head>
<body>

<div class='float'>
<%= yield  %>
<div class='bottom'>
	<div class='username'>
		<% if session[:username] %>
			<%= session[:humanname] %>
		<% end %>
	</div>
	<div class='logout'>
		<% if session[:username] %>
			<%= link_to 'Cerrar Sesión', :controller => 'app',:action => 'logout' %>
		<% end %>
	</div>
</div>
</div>

</body>
</html>
